﻿using Hangout.Web.Core.Accounts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Hangout.Services.Core.Account
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IAccountService" in both code and config file together.
    [ServiceContract]
    public interface IAccountService
    {
        [OperationContract]
        Web.Services.Objects.UserData RegisterUser(string accessToken);
        [OperationContract]
        void UpdateUserData(Web.Services.Objects.UserData userData, string accessToken);
        [OperationContract]
        Web.Services.Objects.UserProfile GetUserProfile(int userId, string accessToken);
    }
}
